<?php
global $serial;
global $id;
global $email;
global $nickname;
global $description;

global $profiles;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>用户信息: <?php echo $nickname; ?></title>
</head>

<body>
<h1><?php echo $nickname; ?></h1>

<?php
if ($profiles) {
    foreach ($profiles as $profile_key=>$profile_value) {
        echo '<p>'.$profile_key.': '.$profile_value.'</p>';
    }
}
?>

</body>